/*
*/

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "glwidget.h"

class QAction;
class QMenu;
class QTextEdit;

namespace Ui
{
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void drawBezier();
    void drawNurbs();
    void about();

private:
    void init();
    void createActions();
    void createMenus();
    void createToolBars();
    void createStatusBar();

    GLWidget *glw;

    QMenu *fileMenu;
    QMenu *drawMenu;
    QMenu *helpMenu;

    QAction *bezierAct;
    QAction *nurbsAct;
    QAction *exitAct;
    QAction *aboutAct;
};

#endif // MAINWINDOW_H
